var request = require('../ajax').request
var host = require('../config').hostData.default

// 获得价格发布列表
export const getJgfbPage = (data) => {
  return new Promise((resolve, reject) => {
    request({
      type: 'default',
      data,
      url: host + '/app-api/member/yzh/jgfbPage',
      method: 'GET',
    }, resolve, reject)
  })
}

// 获得价格发布详情
export const getJgfbGgList = (data) => {
  return new Promise((resolve, reject) => {
    request({
      type: 'default',
      data,
      url: host + '/app-api/member/yzh/getJgfbGgList',
      method: 'GET',
    }, resolve, reject)
  })
}